]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
AppDisplay: fix typo that prevented Ctrl+Enter in search
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 22 Aug 2011 20:31:04 +0000 (22:31 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 22 Aug 2011 21:28:23 +0000 (23:28 +0200)
workspace is not a valid variable, the workspace index should be
fetched from the params object.

https://bugzilla.gnome.org/show_bug.cgi?id=657111

js/ui/appDisplay.js

index 131be18a96b85bb8124136249cf10fcd0f89344c..acaa77526fe1472382beb4f35377c5141850e11c 100644 (file)
@@ -342,7 +342,7 @@ AppSearchProvider.prototype = {
         let openNewWindow = modifiers & Clutter.ModifierType.CONTROL_MASK;
 
         if (openNewWindow)
-            app.open_new_window(workspace);
+            app.open_new_window(params.workspace);
         else
             app.activate_full(params.workspace, params.timestamp);
     },